package com.venus.mq.storage;

import lombok.Data;

import java.io.File;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;

/**
 * Created by qts on 2018/12/10.
 */
@Data
public class IndexFileService {

    //用于文件的读写
    protected FileChannel fileChannel;

    //索引文件名字
    private String fileName;

    private File file;

    //文件映射
    private MappedByteBuffer mappedByteBuffer;

}
